home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / trips.sql < prev    next >
Text File  |  2000-05-12  |  1KB  |  27 lines

  1. /* RCSVER $Id: trips.sql,v 1.5 2000-01-25 16:34:19-06 randy Exp $ */
  2. /* *************************************************************************
  3. *        Copyright (C) 1998, Agent Systems, Inc. All Rights Reserved.
  4. *
  5. * Name:        trips.sql
  6. * Date:        02/16/1999
  7. * memo:        Randy Wood
  8. * Description:    Create the trips table. This table contains all valid
  9. *        trips for each route.
  10. * Changes:
  11. ************************************************************************* */
  12. CREATE TABLE trips
  13. (
  14.     routeid        NUMBER(38),    /* Route id */
  15.     runid        NUMBER(38),    /* Run id */
  16.     id        NUMBER(38),    /* ID of this trip */
  17.     descr        VARCHAR2(30),    /* Description of trip */
  18.     dep_time    VARCHAR2(5),    /* Departure time (scheduled) */
  19.     direction1    VARCHAR2(20),    /* East/West/etc. */
  20.     direction2    VARCHAR2(20),    /* Inbound/Outbound etc. */
  21.     mileage        NUMBER(36,2),    /* Mileage for this trip */
  22.     waydir        NUMBER(38),    /* Wayfarer direction */
  23.     route_desc    VARCHAR2(20),    /* Description of route, if needed */
  24.     config_num    NUMBER(38),
  25.     CONSTRAINT pk_trips PRIMARY KEY (routeid, runid, id, config_num)
  26. );
  27.